.course-comments-box {
  width: 1200px;
  box-sizing: border-box;
  background: #ffffff;
  margin-top: 30px;
  border-radius: 8px;
  padding: 30px;
  .comment-divider {
    width: 100%;
    height: 18px;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    line-height: 18px;
    text-align: left;
  }
  .line {
    width: 100%;
    height: 1px;
    background: #e5e5e5;
    margin: 30px 0px;
  }

  .comment-top {
    box-sizing: border-box;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    .comment-item {
      width: 100%;
      display: flex;
      flex-direction: row;
      margin-bottom: 50px;
      &:last-child {
        margin-bottom: 0px;
      }
      .user-avatar {
        width: 48px;
        height: 48px;
        background: #d8d8d8;
        border-radius: 50%;
        margin-right: 30px;
        img {
          width: 48px;
          height: 48px;
          border-radius: 50%;
        }
      }
      .comment-content {
        width: 1062px;
        display: flex;
        flex-direction: column;
        .comment-info {
          margin-top: 3px;
          display: flex;
          flex-direction: row;
          height: 14px;
          font-size: 14px;
          font-weight: 400;
          color: #666666;
          line-height: 14px;
          margin-bottom: 16px;
          .nickname {
            margin-right: 5px;
          }
        }
        .comment-text {
          width: 1062px;
          font-size: 14px;
          font-weight: 400;
          color: #333333;
          line-height: 20px;
          display: flex;
          flex-direction: row;
          flex-wrap: wrap;
          text-align: left;
        }
        .comment-text-sp {
          width: 80px;
          float: left;
          height: 20px;
          background-color: rgba(0, 0, 0, 0.1);
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 14px;
          border-radius: 2px;
          font-weight: 400;
          color: #333333;
        }
        .comment-reply {
          margin-top: 16px;
          display: flex;
          flex-direction: row;
          align-items: center;
          .comment-time {
            height: 14px;
            font-size: 14px;
            font-weight: 400;
            color: #666666;
            line-height: 14px;
            margin-right: 15px;
          }
          .reply-button {
            height: 14px;
            font-size: 14px;
            font-weight: 400;
            color: #666666;
            line-height: 14px;
            cursor: pointer;
            &:hover {
              color: #3ca7fa;
            }
          }
        }
        .reply-box {
          width: 100%;
          display: flex;
          flex-direction: row;
          align-items: center;
          margin-top: 16px;
          .user-avatar {
            width: 48px;
            height: 48px;
            background: #d8d8d8;
            border-radius: 50%;
            margin-right: 30px;
          }
          .reply-input {
            width: 882px;
            height: 48px;
            border-radius: 4px;
            border: 1px solid #cccccc;
            padding-left: 10px;
            margin-right: 30px;
            outline: none;
          }
          .btn-submit {
            width: 72px;
            height: 48px;
            background: #cccccc;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: 400;
            color: #ffffff;
            line-height: 16px;
            cursor: pointer;
            &:hover {
              opacity: 0.8;
            }
            &.active {
              background: #3ca7fa;
            }
          }
        }
        .reply-content {
          width: 100%;
          display: flex;
          flex-direction: column;
          margin-top: 16px;
          .reply-child {
            width: 100%;
            display: flex;
            flex-direction: row;
            margin-bottom: 30px;
            &:last-child {
              margin-bottom: 0px;
            }
            .user-avatar {
              width: 48px;
              height: 48px;
              background: #d8d8d8;
              border-radius: 50%;
              margin-right: 30px;
              img {
                width: 48px;
                height: 48px;
                border-radius: 50%;
              }
            }
            .child-content {
              width: 984px;
              display: flex;
              flex-direction: column;
              .child-info {
                margin-top: 3px;
                display: flex;
                flex-direction: row;
                height: 14px;
                font-size: 14px;
                font-weight: 400;
                color: #666666;
                line-height: 14px;
                margin-bottom: 16px;
                .nickname {
                  margin-right: 5px;
                }
              }
              .child-text {
                width: 984px;
                font-size: 14px;
                font-weight: 400;
                color: #333333;
                line-height: 20px;
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                text-align: left;
              }
              .child-text-sp {
                width: 80px;
                float: left;
                height: 20px;
                background-color: rgba(0, 0, 0, 0.1);
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 14px;
                border-radius: 2px;
                font-weight: 400;
                color: #333333;
              }
              .child-reply {
                margin-top: 16px;
                display: flex;
                flex-direction: row;
                align-items: center;
                .child-time {
                  height: 14px;
                  font-size: 14px;
                  font-weight: 400;
                  color: #666666;
                  line-height: 14px;
                  margin-right: 15px;
                }
                .child-reply-button {
                  height: 14px;
                  font-size: 14px;
                  font-weight: 400;
                  color: #666666;
                  line-height: 14px;
                  cursor: pointer;
                  &:hover {
                    color: #3ca7fa;
                  }
                }
              }
              .child-reply-box {
                width: 100%;
                display: flex;
                flex-direction: row;
                align-items: center;
                margin-top: 16px;
                .user-avatar {
                  width: 48px;
                  height: 48px;
                  background: #d8d8d8;
                  border-radius: 50%;
                  margin-right: 30px;
                }
                .child-reply-input {
                  width: 804px;
                  height: 48px;
                  border-radius: 4px;
                  border: 1px solid #cccccc;
                  padding-left: 10px;
                  margin-right: 30px;
                  outline: none;
                }
                .btn-submit {
                  width: 72px;
                  height: 48px;
                  background: #cccccc;
                  border-radius: 4px;
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  font-size: 16px;
                  font-weight: 400;
                  color: #ffffff;
                  line-height: 16px;
                  cursor: pointer;
                  &:hover {
                    opacity: 0.8;
                  }
                  &.active {
                    background: #3ca7fa;
                  }
                }
              }
            }
          }

          .reply-more {
            width: 200px;
            line-height: 16px;
            color: #515767;
            cursor: pointer;
            text-align: left;
            margin-left: 78px;
            &:hover {
              color: #3ca7fa;
            }
          }
        }
      }
    }

    .comment-more {
      width: 100%;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 52px;
      background: #f7f8fa;
      color: #515767;
      cursor: pointer;
      &:hover {
        color: #3ca7fa;
      }
    }
  }

  .replybox {
    box-sizing: border-box;
    width: 100%;
    height: 48px;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 50px;
    .text {
      width: 100%;
      text-align: center;
      cursor: pointer;
      &:hover {
        color: #3ca7fa;
        text-decoration: underline;
      }
    }
    .reply {
      width: 100%;
      display: flex;
      flex-direction: row;
      align-items: center;
      .user-avatar {
        width: 48px;
        height: 48px;
        background: #d8d8d8;
        border-radius: 50%;
        margin-right: 30px;
      }
      .reply-input {
        width: 960px;
        height: 48px;
        border-radius: 4px;
        border: 1px solid #cccccc;
        padding-left: 10px;
        margin-right: 30px;
        outline: none;
      }
      .btn-submit {
        width: 72px;
        height: 48px;
        background: #cccccc;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: 400;
        color: #ffffff;
        line-height: 16px;
        cursor: pointer;
        &:hover {
          opacity: 0.8;
        }
        &.active {
          background: #3ca7fa;
        }
      }
    }
  }
}
